public sealed class WaitSeconds : WaitInstruction {
	public double Time;

	public WaitSeconds(ShipProgram program, float waitTime) : base(program) {
		Time = (_program?.Global?.Time?? 0f) + waitTime;
	}

	public override bool Check() {
		if ( _program == null ) {
			return false;
		}
		return _program.Global.Time > Time;
	}
}
